<Entity extends="basicEntity" category="Player">

	<Include file="colors.xml"/>
	<Include file="vars.xml"/>

	<Draw scale="@vars.one">
		<Resource fname="sakuraI.png" />
		<Blending color="@colors.White" method="Alpha"/>
		
		<AnimationTable default="StandR" offset="contHeight">
			<Animation name="WalkR" startRect="0,0,59,39" frames="6" time="60" />
			<Animation name="StandR" startRect="0,0,56,33" frames="5" time="80" />
			<Animation name="JumpR" startRect="0,0,67,32" frames="2" time="60"/>
			<Animation name="FallR" startRect="0,0,55,37" frames="2" time="50"/>
			<Animation name="LandR" startRect="0,0,53,37" frames="2" time="100"/>
			<!-- Inverse -->
			<Animation name="WalkL" as="WalkR" flipX="true"/>
			<Animation name="StandL" as="StandR" flipX="true"/>
			<Animation name="JumpL" as="JumpR" flipX="true"/>
			<Animation name="FallL" as="FallR" flipX="true"/>
			<Animation name="LandL" as="LandR" flipX="true"/>
		</AnimationTable>
	</Draw>

	<Scripts>
		<Script file="Collector.lua"/>
		<Script file="Move.lua"/>
		<Script file="OnDeath.lua"/>
	</Scripts>
	
	<Properties>
	    <string name="playerName"> Sakura </string>
	    <int name="lives"> 3 </int>
	</Properties>
</Entity>